package chapte06.E6;

public class E6 {
    static String[] strs = {"aaa","bbb","ccc"};
    public static void main(String[] args) {
        //  foreach循坏
        for (String str : strs) {
            str = "ddd";
        }
        System.out.println("foreach循环修改后的数组"+ strs[0] + ","+strs[1] + ","+strs[2]);
    }
}
